#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>


struct stu
{
	char name[20];
	int age;
	float  gra;
	
};

void Printf1(struct stu ps)
{
	printf("%s %d %.1f \n", ps.name, ps.age, ps.gra);
}

void Printf2(struct stu* ps)
{
	printf("%s %d %.1f ", ps->name,ps->age,ps->gra);

}
int main()
{
	struct stu p1 = { "zhangsan",18,99.9f};
	Printf1(p1);
	Printf2(&p1);

	return 0;
}


